<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
    <link rel="stylesheet" href="__ADMIN__/css/admin.css">
    <script src="__ADMIN__/js/jquery.js"></script>
    <script src="__ADMIN__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加导航信息</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="{:url('admin/menu/add')}">
            <div class="form-group">
                <div class="label">
                    <label>菜单名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="menu_name" data-validate="required:请输入导航名称" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>菜单链接：</label>
                </div>
                <div class="field">
                    <input type="text"  class="input w50" name="link" />
                    <div class="tips"></div>
                </div>
            </div>
              <div class="form-group">
                <div class="label">
                    <label>菜单级别：</label>
                </div>
                <div class="field">
                        <select name="level">
                            <option value="0">请选择</option>
                            {volist name="menus" id="vo"}
                                <option value="{$vo.menu_id}_{$vo.level}">{$vo.menu_name}</option>
                                
                            {/volist}

                        </select>
                    </div>
                </div>
                
            <div class="form-group">
                <div class="label">
                    <label>菜单排序：</label>
                </div>
                <div class="field">
                    <input type="number"  class="input w50" name="sort" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>菜单状态：</label>
                </div>
                <div class="field" style="padding-top:8px;">
                    应用 <input name="is_show" value="1" checked="checked" type="radio" />
                    禁用 <input name="is_show" value="2" type="radio" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>